home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 023a / ret405.zip / SETUP.BAT < prev    next >
DOS Batch File  |  1991-12-19  |  2KB  |  43 lines

  1.         echo off
  2.         rem SETUP.BAT initialization file for The Retailer V4.05
  3.         rem This moves sample data for the tutorial to the data directory
  4.         IF EXIST INVNTORY\datafile.dat goto ini
  5.         cls
  6.         echo: making data directory
  7.         MD invntory
  8.         echo: COPY SAMPLE DATA FOR TUTORIAL TO data directory
  9.         echo on
  10.         copy datafile.dat invntory
  11.         copy datafile.ndx invntory
  12.         copy datafile.stx invntory
  13.         echo off
  14.         pause Sample Data copied  Press a Key...
  15. :INI
  16.         cls
  17.         echo: Instructions to initialize the RETAILER.INI file.
  18.         IF NOT EXIST RETAILER.INI GOTO INSTRUCT
  19.         echo: FOUND RETAILER.INI file. Contents are:
  20.         type retailer.ini
  21.         echo:
  22.         echo: If this is the Drive:\Directory where you installed the
  23.         echo: program then, you are finished with the initialization.
  24.         echo: If this is not the correct Drive:\directory then,
  25. :INSTRUCT
  26.         ECHO: This program needs to know the [Drive]:\[Directory]
  27.         echo: where you installed the software.
  28.         echo:
  29.         echo: Please type:  COPY CON RETAILER.INI [Press Enter]
  30.         echo:        type:  [Drive]:\[Directory] [Press F6] [Press Enter]
  31.         echo:
  32.         echo: Substitute your drive letter for [Drive] and your directory name
  33.         echo: for [Directory]. Don't forget to sandwich the :\ between the
  34.         echo: Drive & Directory. Press F6 immediately after the directory name. No spaces.
  35.         echo:
  36.         echo:           Example:  COPY CON RETAILER.INI [Enter]
  37.         echo:"          Example:  C:\RETAILER^Z [Enter]                                "
  38.         echo:"          (The F6 key puts the ^Z on the line )                          "
  39.         echo:
  40.         echo: P.S. It is not wise to install any software to a root directory.
  41.         echo:"If you do, then only use the drive letter and colon. EXAMPLE D:^Z [Enter]"
  42.         echo: 
  43.